<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$title?></title>
<style type="text/css">
<!--
body {
	margin:0;
	padding:10px 0;
	font-size:12px;
}
a{
    color:#000000;
    text-decoration:none;
}
a:hover{
    color:#ff0000;
    text-decoration:underline;
}
.btn{border:#002d96 1px solid; padding:4px 4px 2px; font-size:12px; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#FFFFFF, EndColorStr=#9DBCEA); cursor:hand; color:black;}
#wrapper{
	width:350px;
	height:350px;
	margin:0 auto;
	overflow:hidden;
}
#content{
    float:left;
	width:350px;
	height:auto;
	padding:10px 0;
}
-->
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div id="wrapper">
    <div id="content"><h3>upload new product image:</h3>
    <br />
    <form name="imageForm" method="post" action="<?=base_url();?>manager/ImageMgr/save.do" enctype="multipart/form-data">
		<?php 
		    echo form_hidden('folderId',$folderId);
		    echo '<table ><tr><td>product name:</td><td>'.form_input(array('id'=>'imageName','name'=>'imageName')).'</td></tr>';
		    echo '<tr><td>product size:</td><td>'.form_input(array('id'=>'productSize','name'=>'productSize')).'</td></tr>';
		    echo '<tr><td>product desc:</td><td>'.form_textarea(array('id'=>'imageDesc','name'=>'imageDesc','rows'=>'5','cols'=>'20')).'</td></tr>';
		    echo '<tr><td>image:</td><td>'.form_upload('thuImage').'</td></tr>';
		    echo '<tr><td></td><td>'.form_submit(array('id'=>'submiFrm','name'=>'submiFrm','value'=>'create')).form_reset('resetFrm','reset').'</td></tr></table>';
		    echo form_close();
		 ?>
		 </div>
</div>
</body>
</html>
